package red.cyq.modules.service;

import org.springframework.stereotype.Service;

import red.cyq.modules.dao.UserDAO;
import red.cyq.modules.entity.User;

@Service
public class UserServiceImpl extends BaseService<UserDAO, User> {
	
	/**
	 * 
	 * @param loginName 登陆名
	 * @return 返回用户信息 User
	 */
	public User getUserByLoginName(String loginName) {
		return dao.getUserByLoginName(loginName);
	}
}
